﻿@model IEnumerable<Backend.JYD.Model.Cust.CustContact>

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th></th>
        <th>
            CustNo
        </th>
        <th>
            EMail
        </th>
        <th>
            Msn
        </th>
        <th>
            QQ
        </th>
        <th>
            WebSite
        </th>
        <th>
            Status
        </th>
        <th>
            Type
        </th>
        <th>
            CreateTime
        </th>
        <th>
            UpdateTime
        </th>
        <th>
            OpId
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ })
        </td>
        <td>
            @item.CustNo
        </td>
        <td>
            @item.EMail
        </td>
        <td>
            @item.Msn
        </td>
        <td>
            @item.QQ
        </td>
        <td>
            @item.WebSite
        </td>
        <td>
            @item.Status
        </td>
        <td>
            @item.Type
        </td>
        <td>
            @String.Format("{0:g}", item.CreateTime)
        </td>
        <td>
            @String.Format("{0:g}", item.UpdateTime)
        </td>
        <td>
            @item.OpId
        </td>
    </tr>
}

</table>

